package com.agileboot.domain.bot.conversationRecord.command;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * 更新会话记录命令
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UpdateConversationRecordCommand extends AddConversationRecordCommand {

    @NotNull(message = "ID 不能为空")
    @Positive(message = "ID 必须为正数")
    private Long id;
}
